﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PowerManager.Framework.DataPresentation.UpdateStrategy;

namespace PowerManager.Framework.ModleBuilder.Attributes
{
    [Obsolete("Please use specfic attribute instead this.For example,OneTimeAttribute,TimingAttribute.")]
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class UpdateStrategyAttribute:Attribute
    {
        private IUpdateStrategy _updateStrategy;
        public UpdateStrategyAttribute(IUpdateStrategy updateStrategy) {
            _updateStrategy = updateStrategy;
        }
    }
}
